type encoding/json.field
16 uses
encoding/json (current package)
encode.go#L681: list []field
encode.go#L682: byExactName map[string]*field
encode.go#L683: byFoldedName map[string]*field
encode.go#L1040: type field struct {
encode.go#L1071: current := []field{}
encode.go#L1072: next := []field{{typ: t}}
encode.go#L1081: var fields []field
encode.go#L1151: field := field{
encode.go#L1180: next = append(next, field{name: ft.Name(), index: index, typ: ft})
encode.go#L1186: slices.SortFunc(fields, func(a, b field) int {
encode.go#L1234: slices.SortFunc(fields, func(i, j field) int {
encode.go#L1242: exactNameIndex := make(map[string]*field, len(fields))
encode.go#L1243: foldedNameIndex := make(map[string]*field, len(fields))
encode.go#L1260: func dominantField(fields []field) (field, bool) {
encode.go#L1265: return field{}, false
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |